Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for images #29

Merged
merged 1 commit into from
Mar 20, 2022
Merged

Add support for images #29

merged 1 commit into from
Mar 20, 2022

Conversation

caendesilva
Copy link
Member

Adding images

Resolves #24

All media files in the _media directory will get copied to the _site/media directory upon build. To reference an image in your Markdown, use the following syntax
To reference an image in your Markdown, use the following syntax

![Image Alt](../media/image.png "Image Title") # Note the relative path

Since most images are probably going to be in blog posts or documentation pages you need to prepend the ../ before the "media". However, if you are referencing the image in a Markdown page you should use media/image.png for the path.

Nested media directories are not yet supported.

@caendesilva caendesilva linked an issue Mar 20, 2022 that may be closed by this pull request
@caendesilva caendesilva merged commit 1f9630e into master Mar 20, 2022
@caendesilva caendesilva deleted the 24-feature-add-image-support branch March 20, 2022 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Add image support
1 participant